package com.me.mysqladmin.entity;

import java.io.Serializable;
import java.util.List;

import org.apache.ibatis.type.Alias;

@Alias("tableCreate")
public class TableCreate implements Serializable {
	private static final long serialVersionUID = 1L;

	// 字段信息
	private List<TableField> fields;
	
	// 创建位置信息
	private String location;
	
	// 存储引擎
	private String engine;
	
	// 表注释
	private String table_comment;

	public List<TableField> getFields() {
		return fields;
	}

	public void setFields(List<TableField> fields) {
		this.fields = fields;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	public String getEngine() {
		return engine;
	}

	public void setEngine(String engine) {
		this.engine = engine;
	}

	public String getTable_comment() {
		return table_comment;
	}

	public void setTable_comment(String table_comment) {
		this.table_comment = table_comment;
	}

	@Override
	public String toString() {
		return "TableCreate [fields=" + fields + ", location=" + location
				+ ", engine=" + engine + ", table_comment=" + table_comment
				+ "]";
	}
}
